﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using Microsoft.Practices.Unity.InterceptionExtension;
using System.EnterpriseServices;

namespace MvcApplication
{
    public class TransactionInterceptor : ICallHandler
    {
        public IsolationLevel Level { get; private set; }

       

        public TransactionInterceptor(IsolationLevel level, int order)
        {
            this.Level = level;
            this.Order = order;
        }

        #region ICallHandler 成员

        public IMethodReturn Invoke(IMethodInvocation input, GetNextHandlerDelegate getNext)
        {
            return null;
        }

        public int Order { get; set; }

        #endregion
    }
}